package com.userfactssample.client.client.common;

import com.google.gwt.dom.client.Style.FontWeight;
import com.userfactssample.client.client.framework.UMHeader2;

public class FontDecorator {
	public static void decorateAsHeading(UMHeader2 text){
		text.setFontWeight(FontWeight.BOLD);
		text.setFontSize(20);
		text.setColor("white");
	}
	
	public static void decorateAsBody(UMHeader2 text){
		text.setFontWeight(FontWeight.NORMAL);
		text.setFontSize(12);
		text.setColor("white");
	}
	
	public static void decorateAsSubBody(UMHeader2 text){
		text.setFontWeight(FontWeight.LIGHTER);
		text.setFontSize(8);
		text.setColor("white");
	}
}
